/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mx.itschapala.dsw2.biblioteca8a.dao;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import mx.itschapala.dsw2.biblioteca8a.modelo.LibroCategoria;

/**
 *
 * @author Lindemann
 */
@Stateless
public class LibroCategoriaDao extends AbstractDao<LibroCategoria> implements LibroCategoriaDaoLocal {
    @PersistenceContext(unitName = "Biblioteca8A-ejbPU")
    private EntityManager em;

    @Override
    protected EntityManager getEntityManager() {
        return em;
    }

    public LibroCategoriaDao() {
        super(LibroCategoria.class);
    }
    
}
